package com.lly.bigdata.bgayx.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class LoginBody {
    /**
     * 用户名
     */
    @NotEmpty
    private String username;

    /**
     * 用户密码
     */
    @NotNull
    @Length(min = 5, max = 16)
    private String password;

    /**
     * 验证码
     */
    @Length(min = 4, max = 6)
    private String code;

    /**
     * 唯一标识
     */
    private String uuid;

}
